package com.shangma.controller.base;

import com.shangma.common.http.AxiosResult;

/**
 * @author: ShangMa
 * @className: BaseController
 * @description:
 * @date: 2023/4/17 10:36
 * @since: 11
 */
public class BaseController {
    public AxiosResult<Void> toAxios(int row){
        return row > 0 ? AxiosResult.success() : AxiosResult.error();
    }
}
